﻿<?php
# 载入数据库
include_once("../db_config.php");
?>
<!DOCTYPE html>
<html lang="<?php echo $lang;?>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="ysfl">
<meta name="author" content="ysfl">
<link rel="icon" href="../img/favicon.ico">
<title><?php echo $name; echo $title;?>
</title>
<link href="../css/bootstrap.min.css" rel="stylesheet">
<link href="../css/sticky-footer.css" rel="stylesheet">
<!--[if lt IE 9]><script src="../js/ie8-responsive-file-warning.js"></script><![endif]-->
<script src="../js/ie-emulation-modes-warning.js"></script>
<!--[if lt IE 9]>
      <script src="../js/html5shiv.min.js"></script>
      <script src="../js/respond.min.js"></script>
    <![endif]-->
<script>
    function setTab(name,cursel,n){
        for(i=1;i<=n;i++){
            var menu=document.getElementById(name+i);
            var con=document.getElementById("con_"+name+"_"+i);
            menu.className=i==cursel?"hover":"";
            con.style.display=i==cursel?"block":"none";
        }
    }
 </script>
</head>
<body>
<div class="container">
    <div class="page-header">
        <h1>向日葵装机配置</h1>
        <ul class="nav nav-pills" role="tablist">
            <li role="presentation" class="active"><a href="#" onmouseover="setTab('menu',1,5)" id="menu1">家庭影音</a></li>
            <li role="presentation" class="active"><a href="#" onmouseover="setTab('menu',2,5)" id="menu2">游戏娱乐</a></li>
            <li role="presentation" class="active"><a href="#" onmouseover="setTab('menu',3,5)" id="menu3">中端游戏</a></li>
            <li role="presentation" class="active"><a href="#" onmouseover="setTab('menu',4,5)" id="menu4">高端发烧</a></li>
        </ul>
    </div>
    <div class="tab-content">
        <div class="tab-pane active" id="con_menu_1"><?php include("jtyy.php");?></div>
        <div class="tab-pane" id="con_menu_2">
            <p class="bg-primary">
                AMD系列
            </p>
            <p class="bg-primary">
                Intel系列
            </p>
        </div>
        <div class="tab-pane" id="con_menu_3">
            <p class="bg-primary">
                AMD系列
            </p>
            <p class="bg-primary">
                Intel系列
            </p>
        </div>
        <div class="tab-pane" id="con_menu_4">
            <p class="bg-primary">
                AMD系列
            </p>
            <p class="bg-primary">
                Intel系列
            </p>
        </div>
    </div>
</div>
<div class="footer">
    <div class="container">
        <p class="text-muted">
<?php include ("../footer.php");?>
        </p>
    </div>
</div>
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/ie10-viewport-bug-workaround.js"></script>
<script src="../js/ie10-viewport-bug-workaround.js"></script>
</body>
</html>
